//
var TN_Widget = function() {
return {
//Options
newWindow : true,
linkText : "view
tickets",
tixUrl : "http://www.ticketnetwork.com/tix/",
trackingParams : "",
custLink : true,
//depricated
kbid : "",
//Overwrittable functions
trackingLink :"",
CreateCustomUrl : function(row) {
return this.tixUrl + row[7] + "-tickets-"+ row[6] + ".aspx";
},
CreateEventRow : function(row, isAlt) {
return "
" +
row[0] +" | " +
row[1] +" " +
row[2] +" | " +
row[3] +" " +
row[4] + " " +
row[5] + " | "+ this.linkText+ " |
";
},
AddCss: function(cssUrl) {
var fileref=document.createElement("link");
fileref.setAttribute("rel", "stylesheet");
fileref.setAttribute("type", "text/css");
fileref.setAttribute("href", cssUrl);
document.getElementsByTagName("head")[0].appendChild(fileref);
},
CreateTable : function(eventData,kywrds,url) {
if(typeof(TN_SetWidgetOptions) == "function")
TN_SetWidgetOptions();
//for backwards compatability
if(this.kbid != "")
this.trackingParams = "?img=249&kbid="+this.kbid;
var newTable = [];
for(var cntr = 0; cntr < eventData.length; cntr++)
newTable.push(this.CreateEventRow(eventData[cntr], cntr % 2 == 1));
var objToAddTo;
if(objToAddTo = document.getElementById("tn_results_container")) {
objToAddTo.innerHTML = '' + newTable.join('') + '
';
} else
document.write('' + newTable.join('') + '
');
if(eventData.length >= 100 && kywrds != undefined) {
if(objToAddTo = document.getElementById("tn_results_container")) {
objToAddTo.innerHTML += '';
} else {
document.write("");
}
}
if(eventData.length > 0) {
document.getElementById("previewNote").style.display = "none";
}
}
};
}();
//BPW-TNSERV-03A
TN_Widget.CreateTable([['Shania Twain','Bakkt Theater At Planet Hollywood','Las Vegas, NV','Friday','5/10/2024','8:00 PM','5880588','Shania-Twain-5-10-2024'],['Shania Twain','Bakkt Theater At Planet Hollywood','Las Vegas, NV','Saturday','5/11/2024','8:00 PM','5880589','Shania-Twain-5-11-2024'],['Shania Twain','Bakkt Theater At Planet Hollywood','Las Vegas, NV','Wednesday','5/15/2024','8:00 PM','5880590','Shania-Twain-5-15-2024'],['Shania Twain','Bakkt Theater At Planet Hollywood','Las Vegas, NV','Friday','5/17/2024','8:00 PM','5880591','Shania-Twain-5-17-2024'],['Shania Twain','Bakkt Theater At Planet Hollywood','Las Vegas, NV','Saturday','5/18/2024','8:00 PM','5880592','Shania-Twain-5-18-2024'],['Shania Twain','Bakkt Theater At Planet Hollywood','Las Vegas, NV','Thursday','5/23/2024','8:00 PM','5880593','Shania-Twain-5-23-2024'],['Shania Twain','Bakkt Theater At Planet Hollywood','Las Vegas, NV','Saturday','5/25/2024','8:00 PM','5880594','Shania-Twain-5-25-2024'],['Shania Twain','Bakkt Theater At Planet Hollywood','Las Vegas, NV','Sunday','5/26/2024','8:00 PM','5880595','Shania-Twain-5-26-2024'],['Shania Twain & The Corrs','Hyde Park - London','London, United Kingdom','Sunday','7/7/2024','TBD','6258412','Shania-Twain---The-Corrs-7-7-2024'],['Churchill Park Music Festival: Shania Twain, Alan Doyle & Lindsay Ell - Friday','Churchill Park','St. John's, Canada','Friday','8/16/2024','3:00 PM','6356101','Churchill-Park-Music-Festival--Shania-Twain--Alan-Doyle---Lindsay-Ell---Friday-8-16-2024'],['Churchill Park Music Festival: Shania Twain & TALK - Saturday','Churchill Park','St. John's, Canada','Saturday','8/17/2024','3:00 PM','6356102','Churchill-Park-Music-Festival--Shania-Twain---TALK---Saturday-8-17-2024'],['Shania Twain','Bakkt Theater At Planet Hollywood','Las Vegas, NV','Friday','8/23/2024','8:00 PM','5880596','Shania-Twain-8-23-2024'],['Shania Twain','Bakkt Theater At Planet Hollywood','Las Vegas, NV','Saturday','8/24/2024','8:00 PM','5880597','Shania-Twain-8-24-2024'],['Shania Twain','Bakkt Theater At Planet Hollywood','Las Vegas, NV','Thursday','8/29/2024','8:00 PM','5880598','Shania-Twain-8-29-2024'],['Shania Twain','Bakkt Theater At Planet Hollywood','Las Vegas, NV','Saturday','8/31/2024','8:00 PM','5880599','Shania-Twain-8-31-2024'],['Shania Twain','Bakkt Theater At Planet Hollywood','Las Vegas, NV','Sunday','9/1/2024','8:00 PM','5880600','Shania-Twain-9-1-2024'],['Shania Twain','Bakkt Theater At Planet Hollywood','Las Vegas, NV','Wednesday','9/4/2024','8:00 PM','5880914','Shania-Twain-9-4-2024'],['Shania Twain','Bakkt Theater At Planet Hollywood','Las Vegas, NV','Friday','9/6/2024','8:00 PM','5880601','Shania-Twain-9-6-2024'],['Shania Twain','Bakkt Theater At Planet Hollywood','Las Vegas, NV','Saturday','9/7/2024','8:00 PM','5880602','Shania-Twain-9-7-2024'],['Shania Twain','Bakkt Theater At Planet Hollywood','Las Vegas, NV','Friday','11/29/2024','8:00 PM','5880603','Shania-Twain-11-29-2024'],['Shania Twain','Bakkt Theater At Planet Hollywood','Las Vegas, NV','Saturday','11/30/2024','8:00 PM','5880604','Shania-Twain-11-30-2024'],['Shania Twain','Bakkt Theater At Planet Hollywood','Las Vegas, NV','Wednesday','12/4/2024','8:00 PM','5880605','Shania-Twain-12-4-2024'],['Shania Twain','Bakkt Theater At Planet Hollywood','Las Vegas, NV','Friday','12/6/2024','8:00 PM','5880606','Shania-Twain-12-6-2024'],['Shania Twain','Bakkt Theater At Planet Hollywood','Las Vegas, NV','Saturday','12/7/2024','8:00 PM','5880607','Shania-Twain-12-7-2024'],['Shania Twain','Bakkt Theater At Planet Hollywood','Las Vegas, NV','Wednesday','12/11/2024','8:00 PM','5880608','Shania-Twain-12-11-2024'],['Shania Twain','Bakkt Theater At Planet Hollywood','Las Vegas, NV','Friday','12/13/2024','8:00 PM','5880609','Shania-Twain-12-13-2024'],['Shania Twain','Bakkt Theater At Planet Hollywood','Las Vegas, NV','Saturday','12/14/2024','8:00 PM','5880610','Shania-Twain-12-14-2024']],'Shania Twain','http://www.ticketnetwork.com/ticket/Shania-Twain-events.aspx');